<template>
  <div class="apple-title">
    <div class="line"></div>
    <div class="text"><slot></slot></div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.apple-title {
  display: flex;
  align-items: center;
  padding-top: 18px;
  margin-bottom: 15px;
  .line {
    width: 2px;
    height: 18px;
    background: red;
    margin-right: 10px;
  }
  .text {
    font-size: 17px;
  }
}
</style>